/**
 * 前端路由配置
 *
 * @author li.youxi
 * @date 2017/05/27
 */

import React from 'react'
import {Route, IndexRoute} from 'react-router'

import {
	App,
	Home,
	Music,
	Movie,
	NotFoundPage
} from './containers'

export default (
	<Route path="/" component={App}>
	    <IndexRoute component={Home}/>
	    <Route path="music" component={Music}/>
	    <Route path="movie" component={Movie}/>
	    <Route path="*" component={NotFoundPage}/>
  	</Route>
)